package src.main.java.mapper;

import org.apache.ibatis.annotations.Mapper;
import vo.common.entity.system.SysMenu;

import java.util.List;


@Mapper
public interface SysMenuMapper {

    List<SysMenu> selectAll();

    void insert(SysMenu sysMenu);

    void updateById(SysMenu sysMenu);

    int countByParentId(Long id);

    void deleteById(Long id);

    List<SysMenu> selectListByUserId(Long userId);

    SysMenu selectParentMenu(Long parentId);

}
